package com.wcfsy.wechat.wx.sys.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.wcfsy.wechat.wx.entity.OnlineMenu;
import com.wcfsy.wechat.wx.entity.WechatMenu;

public interface WechatMenuDao extends IBaseDao<WechatMenu> {

	public List<OnlineMenu> findOnlineMenuByRoot();

	public List<OnlineMenu> findOnlineMenuByParentId(
			@Param("parentId") long parentId);

	public void updateWechatMenu(WechatMenu wechatMenu);

	public WechatMenu getWechatMenuByType(@Param("wechatType") String wechatType);
}
